
package com.microweb.toastmaster.service;

import java.util.List;

import com.microweb.toastmaster.service.Manager;
import com.microweb.toastmaster.model.TMProject;
import com.microweb.toastmaster.dao.TMProjectDao;

public interface TMProjectManager extends Manager {
    /**
     * Retrieves all of the tMProjects
     */
    public List getTMProjects(TMProject tMProject);

    /**
     * Gets tMProject's information based on id.
     * @param id the tMProject's id
     * @return tMProject populated tMProject object
     */
    public TMProject getTMProject(final String id);

    /**
     * Saves a tMProject's information
     * @param tMProject the object to be saved
     */
    public void saveTMProject(TMProject tMProject);

    /**
     * Removes a tMProject from the database by id
     * @param id the tMProject's id
     */
    public void removeTMProject(final String id);
}

